var http = require('./require.js');
module.exports = {
  // 营收统计
  GetRevenueTotalData() {
    return http.PostAxis('/ys/api/MiniApp/GetRevenueTotalData')
  },
  // 稽查统计
  GetAuditTotalData() {
    return http.PostAxis('/ys/api/MiniApp/GetAuditTotalData')
  },
  // 查询未完成工单
  QueryCheckPlanList(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryCheckPlanList', data)
  },
  // 查询已计划、已完成的用户数量
  QueryTaskCount(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryTaskCount', data)
  },
  // 更新位置信息
  UpdateConsPosition(data) {
    return http.PostAxis('/ys/api/AuditAPP/UpdateConsPosition', data)
  },
  // 安排计划/取消计划
  UpdateTaskPlan(data) {
    return http.PostAxis('/ys/api/AuditAPP/UpdateTaskPlan', data)
  },

  // 申请延期
  DeferTaskPlan(data) {
    return http.PostAxis('/ys/api/AuditAPP/DeferTaskPlan', data)
  },
  // 获取稽查任务
  GetTaskList(data) {
    return http.PostAxis('/ys/api/AuditAPP/GetTaskList', data)
  },
  // 获取稽查任务已计划工单
  QueryTaskPlaned(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryTaskPlaned', data)
  },
  // 获取稽查任务未计划工单
  QueryTaskUnPlaned(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryTaskUnPlaned', data)
  },
  // 查询任务对应已计划，未计划数量
  QueryTaskDetailCount(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryTaskDetailCount', data)
  },
  // 	查看稽查工单明细
  ViewCheckDetail(data) {
    return http.PostAxis('/ys/api/AuditAPP/ViewCheckDetail', data)
  },
  // 提交稽查工单
  UpdateTaskState(data) {
    return http.PostAxis('/ys/api/AuditAPP/UpdateTaskState', data)
  },
  //  查看协查人
  ViewAssistPeople(data) {
    return http.PostAxis('/ys/api/AuditAPP/ViewAssistPeople', data)
  },
  //  添加协查人
  AddAssistPeople(data) {
    return http.PostAxis('/ys/api/AuditAPP/AddAssistPeople', data)
  },
  //  查看账户
  PSysUserListPost(data) {
    return http.PostAxis('/ys/api/SystemMoule/PSysUser/PSysUserListPost', data)
  },
  //  查看稽查用户
  GetUserPageSelectForAudit(data) {
    return http.PostAxis('/ys/api/ArchivesManager/C_Cons/GetUserPageSelectForAudit', data)
  },
   //  查询历史对应全部/延期/待处理已完成工单
   QueryHistoryDetail(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryHistoryDetail', data)
  },
   //  查询任务第地址
   GetTaskAddress(data) {
    return http.PostAxis('/ys/api/AuditAPP/GetTaskAddress', data)
  },
  //  查询历史对应全部/延期/待处理已完成工单数量
  QueryHistoryCount(data) {
    return http.PostAxis('/ys/api/AuditAPP/QueryHistoryCount', data)
  },
  //  查看用户年费
  // {"model":{"CONS_NO":"5002354705","CONS_NAME":null,"MOBILE":null,"ADDR":null,"PREPAY_AMT":0.0,"YM":null,"THIS_READ":null,"T_PQ":0,"OWE_AMT":0.0,"SIDX":null,"SORD":null}}
  HeatYearListPost(data) {
    return http.PostAxis('/ys/api/SystemMoule/PayAPI/heatYearListPost', data)
  },
  HeatYearNoPay(CONS_NO) {
    return http.GetAxis('/ys/api/SystemMoule/PayAPI/heatYearNoPay?CONS_NO=' + CONS_NO)
  },
  //  查看用户收费
  // {"parameter":{"ORG_NO":null,"StartTime":null,"EndTime":null,"SETTLE_MODE":null,"JK":null,"CONS_NO":"5002354705","CONS_NAME":null,"DEPT_PART":null,"Inv_Ver":null,"Inv_NO":null,"CHARGE_EMP_NO":null,"CHARGE_SUB_ID":null,"pagination":{"rows":30,"page":1,"sidx":"charge_date","sord":"desc","records":1,"total":1,"sumList":null},"MR_SECT_NO":null,"IsStrict":1,"SEARCH_TYPE":null,"CASHCHK_ID":null,"CHARGE_DEPT":null,"ACCT_NO":null}
  GetPayDetailInfo(data) {
    return http.PostAxis('/ys/api/SystemMoule/PayAPI/GetPayDetailInfo', data)
  },
  //  查看用户稽查记录
  // {"parameter":{"AUDIT_ID":null,"HEAT_DURATION":null,"BUILDING_NO":null,"DISTINCT_CODE":null,"STREET_CODE":null,"STATION_CODE":null,"ISSPECIALCONS":null,"ORG_NO":null,"DEPT_PART":null,"CONS_NO":"5002354705","CONS_NAME":null,"ASSIST_NAME":null,"AUDIT_CONFIG":null,"AUDIT_NO":null,"AUDIT_TEAM_NO":null,"OUT_PLAN":null,"PLAN_NAME":null,"PLAN_STATUS":0,"STATUS":99,"BEGIN_TIME":null,"END_TIME":null,"SEND_BEGIN_TIME":null,"SEND_END_TIME":null,"IS_EXPIRE":null,"APP_NO":null,"IS_Dispose":null,"C_STATUS":null,"ActionSource":"AUDIT_APP","NewStatus":null,"DP_OPERATION":null,"DP_COUNT":null,"IS_PERFORMANCE":null,"pagination":{"rows":30,"page":1,"sidx":"","sord":"asc","records":0,"total":0,"sumList":null},"userInfo":{"userId":"998","enCode":null,"account":"wangzhe","password":null,"secretkey":null,"realName":"王喆","nickName":null,"headIcon":null,"gender":null,"mobile":null,"telephone":null,"email":null,"oICQ":null,"weChat":null,"companyId":null,"companyIds":null,"departmentIds":null,"openId":null,"roleIds":null,"postIds":null,"isSystem":false,"RoleIDList":null,"RoleIDList_List":[],"RoleTypeList":null,"RoleTypeList_List":[],"appId":null,"logTime":"0001-01-01T00:00:00","iPAddress":null,"browser":null,"loginMark":null,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySWQiOjk5OCwiQWNjb3VudCI6Indhbmd6aGUiLCJOYW1lIjoi546L5ZaGIiwiT1JHX05PIjoiMTAwMDAiLCJERVBUX05PIjoiMTAwMDA5MDAxMDA0IiwiTG9naW5NYXJrIjoieXRoIiwiaWF0IjoxNzU3NzIzNTQwLCJuYmYiOjE3NTc3MjM1NDAsImV4cCI6MTc1NzczMDc0MCwiaXNzIjoiU3lzdGVtTW91bGUiLCJhdWQiOiJXZWJBcGkifQ.Y6D4hZyfvKpU6w89nyUFcmBw7PsznaaQMThpugEbrCw","imUrl":null,"wfProcessId":null,"ORG_NO":"10000","DEPT_NO":"100009001004","UniqueToken":null},"ErrMsg":null,"CheckPara":true}
  GetAllDetailPageList(data) {
    return http.PostAxis('/ys/api/SystemMoule/AAuditAPI/GetAllDetailPageList', data)
  },
  //  查看用户工单记录
  // {"model":{"pagination":{"rows":30,"page":1,"sidx":"","sord":"","records":0,"total":0,"sumList":null},"queryParam":{"OrderID":null,"WorkID":null,"OrderNo":null,"StreetID":null,"StreetName":null,"XiaoQu":null,"XiaoQuName":null,"Lou":null,"LouName":null,"DanYuan":null,"DanYuanName":null,"Room":null,"Address":null,"ConsName":null,"PhoneNumber":"","OrderTypeNo":null,"SubTypeNo":null,"UrgencyID":null,"IsExpire":null,"IsReminder":null,"AssignDeptNo":null,"CreaterNo":null,"NextReceiverNo":null,"HandlerNo":null,"JoinNo":null,"SourceType":null,"CreaterBeginTime":null,"CreaterEndTime":null,"CommonParam":null,"WxCommonParam":null,"Status":null,"IsFinish":null,"IsReOrder":null,"StationNo":null,"ConsNo":"5002354705","PrintFlag":null,"IsCurrentCycle":null,"RepairerNo":null,"RemainingTime":null,"RemainingTimeCondition":null,"UrgencyName":null,"IsMyOrder":null,"IsCancle":null,"HandlerDeptNo":null,"NeedAudit":null,"ProcHandResult":null},"accessToken":"x","loginMark":"yth"}
  InvokeGetList(data) {
    return http.PostAxis('/ys/api/SystemMoule/XTRemoteCtrl/InvokeGetList', data)
  },
  //  查看用户变更记录
  // {"model":{"CONS_NO":"5002354705","CONS_NAME":null,"MODIFYTIME":null,"CHANGETIME":null,"APP_NO":null,"STATUS_CODE":0,"STATAUS":"未生效","TABLE_NAME_STR":null,"MODIFYPROJECT":null,"OLDVALUE":null,"NEWVALUE":null,"REMARK":null}}
  GetWorkFlowHistoryForJC(data) {
    return http.PostAxis('/ys/api/SystemMoule/WorkFlowAPI/GetWorkFlowHistoryForJC', data)
  },
  // 微信缴费
  CreateQROrder(data) {
    return http.PostAxis('/ys/api/WeChat/WxPayOrder/CreateQROrder', data)
  },
  // 校验是否缴费
  CheckQROrder(orderNo) {
    return http.PostAxis('/ys/api/WeChat/WxPayOrder/CheckQROrder/' + orderNo)
  },
  // 查询用户--根据表号或者区域
  GetConsMeter(data) {
    return http.PostAxis('/ys/api/MeterReadNew/RData/GetConsMeter', data)
  },
  // 保存抄表数据
  SaveMeterData(data) {
    return http.PostAxis('/ys/api/MeterReadNew/RData/SaveMeterData', data)
  },
  // 查询缴费订单
  GetMyOrderList(data) {
    return http.PostAxis('/ys/api/WeChat/WxPayOrder/GetMyOrderList',data)
  },
}